package com.ctg.behavior.calc.feign.users;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.ctg.behavior.common.userbehavior.CtUBCalcRequest;
import com.ctg.behavior.common.userbehavior.CtUBCalcResult;
import com.ctg.behavior.common.usersequence.CtUSCalcRequest;
import com.ctg.behavior.common.usersequence.CtUSCalcResult;

// @FeignClient(value = "${provider.application.name}")
public interface CtUsersFeignClient {

	// 用户行为-事件总量、行为统计
	@PostMapping("/api/users/report/events")
	public CtUBCalcResult doEventsCalc(@RequestBody CtUBCalcRequest request);

	// 用户行为-行为序列(按小时/按明细)
	@PostMapping("/api/users/report/sequence")
	public CtUSCalcResult doSequenceCalc(@RequestBody CtUSCalcRequest body);

}
